//
//  BIDDetailEmailFromOutboxViewController.h
//  shangwuting
//
//  Created by mal on 13-12-26.
//  Copyright (c) 2013年 mal. All rights reserved.
//

#import "BIDWithHttpRequestViewController.h"
@class BIDShowPhotoView;
@class BIDDownloadFile;
@class BIDShowDocView;
@class BIDReadConditionView;

@interface BIDDetailEmailFromOutboxViewController : BIDWithHttpRequestViewController<UITableViewDataSource,UITableViewDelegate,UIAlertViewDelegate>
@property (strong, nonatomic)IBOutlet UILabel *titleLabel;
@property (strong, nonatomic)IBOutlet UILabel *timeLabel;
@property (strong, nonatomic)IBOutlet UILabel *contentLabel;
@property (strong, nonatomic)IBOutlet UITableView *myTableView;
@property (strong, nonatomic)UIImageView *bgImgView1;
@property (strong, nonatomic)IBOutlet UILabel *lineLabel;

//
@property (strong, nonatomic)IBOutlet UIScrollView *myScrollView;

@property (strong, nonatomic)BIDShowPhotoView *showPhotoView;

@property (strong, nonatomic)BIDDownloadFile *downloadFile;
@property (strong, nonatomic)BIDShowDocView *showDocView;

@property (copy, nonatomic)NSString *emailId;
@property (strong, nonatomic)NSMutableArray *photosArr;
@property (strong, atomic)NSMutableArray *photosDataArr;
@property (strong, nonatomic)NSMutableArray *docsArr;

@property (copy, nonatomic)NSString *willOpenFileName;

//接收情况
@property (strong, nonatomic)BIDReadConditionView *readConditionView;

enum OPERATE_TYPE
{TYPE_DELETE, TYPE_REVOKE};
typedef enum OPERATE_TYPE OPERATE_TYPE;

//加载数据
- (void)loadContent;

//调整布局
- (void)adjustLayout;

//加载图片并显示
- (void)loadPhotos;

//操作邮件(删除或者撤销)
- (void)operateEmail:(OPERATE_TYPE)type;

@end
